<html>
	<head>
	<title>Drink the Beer - <?php echo $PageTitle ?></title>
		<link type="text/css" href="css/ui-darkness/jquery-ui-1.8.14.custom.css" rel="stylesheet" />	
		<script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>
		<script type="text/javascript" src="js/jquery-ui-1.8.14.custom.min.js"></script>
		<script type="text/javascript">
			$(function(){
				// Accordion
				$("#accordion").accordion({ collapsible: true, header: "h3" });
				$("#delete").accordion({ collapsible: true, header: "h3", active: 2 });
				// Tabs
				$('.tabs').tabs();
			});
			
		
		</script>
		<link rel="stylesheet" type="text/css" href="/../css/styles.css" >	
	</head>
	
		<script type="text/javascript">
  			var rpxJsHost = (("https:" == document.location.protocol) ? "https://" : "http://static.");
  			document.write(unescape("%3Cscript src='" + rpxJsHost +
			"rpxnow.com/js/lib/rpx.js' type='text/javascript'%3E%3C/script%3E"));
		</script>
		<script type="text/javascript">
  			RPXNOW.overlay = true;
  			RPXNOW.language_preference = 'en';
		</script>
	<body>
	<h1 style="text-align:center; background-color:orange">Drink the Beer</h1>
	<a href="index.php">Home</a>
<?php 
	if(!isset($_COOKIE['identifier'])) 
	{ 
	echo '<a class="rpxnow" onclick="return false;" style="float:right"
		href="https://development-app.rpxnow.com/openid/v2/signin?token_url=http%3A%2F%2F192.168.1.3%2Frpxlogin.php"> Sign In </a><br>';
	 
	}
	else 
	{ 
	$identifier = $_COOKIE['identifier'];
		echo '<a href="logout.php" style="float:right; margin-left: 5px; margin-right:5px;">Logout</a>';
		echo '<a href="profile.php" style="float:right; margin-left: 5px; margin-right:5px;">Profile</a> 
			<a style="float:right; margin-left: 5px; margin-right:5px; color:black">Signed in as [edit to retrieve username]</a>'; 
	}
?><br>

